#!/bin/bash

sed -e "s/lambda = .*/lambda = $1;/;" learn_polyfit_template.m > learn_polyfit.m
OCTAVE=`which octave`
$OCTAVE -q learn_polyfit.m 2>/dev/null 1>/dev/null
exit

